<%--
  User: Shengzhao Li
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="andaily,and daily,daily management">
    <meta name="author" content="andaily.com">
    <meta name="Keywords" content="andaily,and daily,daily management,love life,my account,my thing,thinking"/>

    <title><decorator:title default="Andaily"/> | Andaily</title>
    <c:set var="contextPath" value="${pageContext.request.contextPath}" scope="application"/>
    <link rel="shortcut icon" type="image/x-icon" href="${contextPath}/images/logo/favicon.ico"/>

    <!-- Le styles -->
    <link href="${contextPath}/js/web/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <!--<link href="http://cdnjs.bootcss.com/ajax/libs/twitter-bootstrap/2.3.1/css/bootstrap.min.css" rel="stylesheet">-->

    <link href="${contextPath}/css/web/main.css" rel="stylesheet">
    <decorator:head/>

    <link href="${contextPath}/js/web/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
    <!--<link href="http://cdnjs.bootcss.com/ajax/libs/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css"-->
    <!--rel="stylesheet">-->

    <%--<!-- Le javascript--%>
    <%--================================================== -->--%>
    <%--<!-- Placed at the end of the document so the pages load faster -->--%>
    <script src="${contextPath}/js/jquery/jquery-1.10.0.min.js"></script>
    <script src="${contextPath}/js/web/bootstrap/js/bootstrap.min.js"></script>
    <%--<script src="http://code.jquery.com/jquery-1.10.0.min.js"></script>--%>
    <%--<script src="http://cdnjs.bootcss.com/ajax/libs/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>--%>

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://cdnjs.bootcss.com/ajax/libs/html5shiv/3.6.2/html5shiv.js"></script>
    <![endif]-->

</head>
<body>
<!--navbar-inverse-->
<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container-fluid">
            <a class="brand" href="#" style="color:#0c0;font-weight: bold;">Andaily</a>

            <div class="nav-collapse collapse">
                <ul class="nav">
                    <li class="active"><a href="#">个人账务</a></li>
                    <li><a href="#">我的事情</a></li>
                    <li><a href="#">每日日志</a></li>
                    <li><a href="#">我的思考</a></li>
                </ul>
                <ul class="nav pull-right">
                    <li class="dropdown">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0);">菜单 <b
                                class="caret"></b></a>
                        <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                            <li><a tabindex="-1" data-toggle="modal" href="#loginModal"> 登录</a></li>
                            <li><a tabindex="-1" href="#"> 注册</a></li>
                            <li class="divider"></li>
                            <li><a tabindex="-1" href="#"> 帮助</a></li>
                            <li><a tabindex="-1" href="#"> 反馈</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            <!--/.nav-collapse -->
        </div>
    </div>
</div>

<div class="container">
    <decorator:body/>

    <hr class="featurette-divider"/>
    <div class="footer">
        <p class="pull-right"><a class="btn btn-link" href="#">回顶部</a></p>

        <p class="pull-left">&copy; 2013 Andaily. All Rights Reserved.</p>
    </div>
</div>
<!-- /container -->

<!--login modal-->
<div class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
     id="loginModal">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3>登录</h3>
    </div>
    <div class="modal-body">
        <form action="" method="post" class="form-horizontal">
            <div class="control-group">
                <label class="control-label" for="inputEmail">用户: </label>

                <div class="controls">
                    <input type="text" name="username" id="inputEmail" placeholder="请输入邮件地址或手机号码">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="inputPassword">密码: </label>

                <div class="controls">
                    <input type="password" name="password" id="inputPassword" placeholder="请输入密码">
                </div>
            </div>
        </form>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary">登录</button>
        <a href="#" class="btn btn-link">注册</a>
    </div>
</div>

<%--jQuery ui dialog context div--%>
<div id="andaily_dialog" class="hidden"></div>

<jsp:include page="analytics.jsp"/>

</body>
</html>